package agents.utils;

import java.util.Random;

/**
 * WorkType.java will hold the types of work and will provide work types
 * to all other classes.
 * 
 * @author Group 6
 */
public enum WorkType {
    
    CUTTING(2500),
    PACKING(2000),
    SEWING(3000);
    
    private final int timeToProcess;

    private WorkType(int timeToProcess) {
        this.timeToProcess = timeToProcess;
    }
    
    public int getDefaultTimeToProcess() {
        return this.timeToProcess;
    }
    /*
    public long getTimeToProcess() {
        Random r = new Random();
        float floatR = r.nextFloat();
        floatR *= this.timeToProcess;
        floatR += getDefaultTimeToProcess();
        return (long) floatR;
    }*/
    
}

